//
//  ESTabBarViewController.m
//  EasyStyle
//
//  Created by FK on 16/5/8.
//  Copyright © 2016年 FK. All rights reserved.
//

#import "ESTabBarViewController.h"
#import "ESNavigationController.h"

#import "ESMainViewController.h"
#import "ESWeiXinSelectedViewController.h"

@interface ESTabBarViewController ()

@end

@implementation ESTabBarViewController

- (void)viewDidLoad {
    [super viewDidLoad];
//
//    UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
//    
//    
//    ESMainViewController *mainVC = [storyboard instantiateViewControllerWithIdentifier:@"MainVC"];
//    ESNavigationController *mainNav = [[ESNavigationController alloc]initWithRootViewController:mainVC];
//    
//    ESWeiXinSelectedViewController *weChatVC = [storyboard instantiateViewControllerWithIdentifier:@"WeChatVC"];
//    ESNavigationController *weChatNav = [[ESNavigationController alloc]initWithRootViewController:weChatVC];
//    
//    self.tabBarController.viewControllers = [NSArray arrayWithObjects:mainNav, weChatNav, nil];
////    self.tabBarController addChildViewController:<#(nonnull UIViewController *)#>
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
